public class Student {
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getStudentnum() {
        return studentnum;
    }
    public void setStudentnum(String studentnum) {
        this.studentnum = studentnum;
    }
    public int getClassnum() {
        return classnum;
    }
    public void setClassnum(int classnum) {
        this.classnum = classnum;
    }
    private String name;
    private String studentnum;
    private int classnum;
    public Student(){

    }
    public Student(String name,int studentnum){

    }
    public Student(String name,String studentnum,int classnum){
    this.name=name;
    this.studentnum=studentnum;
    this.classnum=classnum;
    }
    public void show(){
        System.out.println(this.name+"..."+this.studentnum+"..."+this.classnum);
    }
}
